//
//  GMBannerView.h
//  golfMaster
//
//  Created by snack on 14-7-26.
//  Copyright (c) 2014年 Master. All rights reserved.
//

#import <UIKit/UIKit.h>


@protocol GMBannerViewDelegate <NSObject>

@optional
- (void)bannerViewPressedAt:(NSInteger)index;

@end


@interface GMBannerView : UIView

@property (nonatomic, weak) IBOutlet id<GMBannerViewDelegate> bDelegate;

@property (nonatomic, assign) BOOL autoPlay;        // default is YES
@property (nonatomic, assign) BOOL showTitleView;   // default is YES

@property (nonatomic, strong) NSTimer *autoPlayTimer;

- (void)configViewWithBannerArray:(NSArray *)array placeHolderImage:(UIImage *)placeHoler;
- (void)stopTimer;
- (void)creatTimer;


- (void)configTypeForForum;
//distantPast
//distantFuture
- (void)pastTimer;
- (void)futureTimer;

@end
